package ua.kharkov.knure.mikhaylov.st4.settings;

import java.util.Locale;
import java.util.ResourceBundle;

/**
 * Stores locale resource bundle
 * 
 * @author Saint
 * 
 */
public class LocaleData {

	public static final String bundleName = "ua.kharkov.knure.mikhaylov.st4.web.i18n.data";

	private static ResourceBundle rb = null;

	public static ResourceBundle getResourceBundle() {
		return rb;
	}

	public static void initResourceBundle(String locale) {
		rb = ResourceBundle.getBundle(bundleName, new Locale(locale));
	}

	private LocaleData() {

	}
}
